package com.cloud.wms.ui.returned.contact;

import com.cloud.core.base.BasePresenter;
import com.cloud.core.base.BaseView;
import com.cloud.wms.ui.returned.entity.InventoryDetailEntity;
import com.cloud.wms.ui.returned.entity.InventoryInfoEntity;

/**
 * Created by FC on 2021/5/13.
 * Desc：
 */
public interface InventoryContract {
    interface View extends BaseView {

    }

    interface Presenter extends BasePresenter<View> {
        void getReturnedInfo(String carryCode);

        void queryCommodity(String barCode);

        void checkBoxCode(String boxCode);

        void getReturnedInventoryDetail(String carryCode);

        void deleteInventoryCommodity(String carryCode, InventoryDetailEntity detailEntity);

        void submitReturnedInventory(String carryCode,
                                     String containerCode,
                                     InventoryInfoEntity.CommodityListBean commodityBean,
                                     InventoryInfoEntity.CommodityListBean.BatchInfoBean batchInfoBean,
                                     boolean isNext);
    }
}
